package com.xiao.mall.message.service.dto.front;

import com.xiao.mall.message.service.dto.TpnsAndroidMessage;
import com.xiao.mall.message.service.dto.TpnsIosMessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@ApiModel(value = "NotificationFrontDto", description = "消息Dto")
public class NotificationFrontDto {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("安卓消息")
    private TpnsAndroidMessage androidMessage;

    @ApiModelProperty("苹果消息")
    private TpnsIosMessage iosMessage;

    @ApiModelProperty("消息类型")
    private String type;

    @ApiModelProperty("消息主题")
    private String topic;

    @ApiModelProperty("目标ID")
    private String target;

    @ApiModelProperty("目标类型")
    private String targetType;

    @ApiModelProperty("提醒信息的动作类型")
    private String action;

    @ApiModelProperty("发送人")
    private String sender;
}
